import battle.BattleArmy;
import model.Army;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;


/**
 * User: Станислав
 * Date: 30.08.14
 */
public class Main {
    public static void main(String[] args){
        ApplicationContext applicationContext = new FileSystemXmlApplicationContext("./cfg/applicationContext.xml");
        BattleArmy battleArmy =(BattleArmy) applicationContext.getBean("battleArmy");

        Army army1 = new Army();
        army1.armyFactory(10,10,"Hero1");
        Army army2 = new Army();
        army2.armyFactory(12,15,"Hero2");



    }
}
